package com.mida.dms.knw.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="实例关系")
public class KnwIndividualRelation implements Serializable {

    @ApiModelProperty(value="实例关系soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long individualRelationSoid;

    @ApiModelProperty(value="源实例soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long sourceIndividualSoid;

    @ApiModelProperty(value="目标实例soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long targetIndividualSoid;

    @ApiModelProperty(value = "实例关系概念soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long conceptualSoid;

    @ApiModelProperty(value="创建日期")
    private Date createDate;

    @ApiModelProperty(value="更新日期")
    private Date updateDate;

    @ApiModelProperty(value="更新人")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long updateUser;

    @ApiModelProperty(value="状态")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long status;

    @ApiModelProperty(value="删除标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long isDelete;

    private static final long serialVersionUID = 1L;
}